Skip to main content

mediaTypes

Type

property

Summary

Specifies one or more types of media used in a movie.

Syntax

get the mediaTypes of <player>

Description

Use the mediaTypes property to find out what kinds of media a movie contains.

Most movies provide more than one media type. For example, a typical movie might provide one video and one audio track.

If more than one track in the movie uses the same media type, the media type is specified only once in the mediaTypes property. For example, "audio" appears only once in the mediaTypes, even if the movie contains more than one audio track.

Examples

if the mediaTypes of player 1 contains "audio" then increaseLoudness

glossary: property

property: trackCount

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

Platforms

desktop

Thank you for your feedback!

Was this page helpful?